package com.xiaomei.manager.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xiaomei.manager.dao.OrderOperateMapper;
import com.xiaomei.manager.model.ActivtiyRelease;
import com.xiaomei.manager.service.IOrderOperateService;
import com.xiaomei.manager.web.dto.BiteDto;
import com.xiaomei.manager.web.dto.req.OrderOperateAndUser;
import com.xiaomei.manager.web.dto.req.StatistiDto;
import com.xiaomei.manager.web.page.Page;

@Service
public class OrderOperateServiceImpl implements IOrderOperateService {
	
	@Autowired
	private OrderOperateMapper orderOperateMapper;

	@Override
	public List<OrderOperateAndUser> getByParamMap(BiteDto dto,
			Page<OrderOperateAndUser> page) {
		// TODO Auto-generated method stub
		page.setParamDto(dto);
		return orderOperateMapper.selectBiteMap(page);
	}

	@Override
	public List<StatistiDto> selectStatisti(Page<StatistiDto> page) {
		// TODO Auto-generated method stub
		return orderOperateMapper.selectStatisti(page);
	}

}
